<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>物业管理系统</title>
		
		<base href="<%=basePath%>">
		<link rel="stylesheet" href="css/bootstrap.css">
		<link rel="stylesheet" href="css/vivo.css">
		<link rel="stylesheet" href="css/cmxform.css">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	
		
		<script src="js/jquery-1.11.1.js"></script>
		<link href="js/select2/select2.min.css" type="text/css" rel="stylesheet" />
		<script src="js/select2/select2.min.js"></script>
		<script src="js/jquery.validation/1.14.0/jquery.validate.min.js"></script>
		<script src="js/jquery.validation/1.14.0/messages_zh.min.js"></script>
		<link rel="stylesheet" href="js/zTree_v3/css/metroStyle/metroStyle.css" >
		<script type="text/javascript" src="js/zTree_v3/js/jquery.ztree.core.min.js" ></script>
		<script type="text/javascript" src="js/zTree_v3/js/jquery.ztree.excheck.min.js" ></script>
		<script type="text/javascript" src="static/p_admin/user/user-form-edit.js" ></script>

		<style type="text/css">
			.primary-vdd {
				color: #fff;
				background-color: #5a98de;
				border-color: #5a98de
			}
			
			.primary-vdd:hover {
				color: #fff;
				background-color: #0a6999;
				border-color: #0a6999
			}
		</style>
		<script type="text/javascript">
			var orgDeptCheck=${requestScope.orgDeptCheck};
		</script>
	</head>
	<body>
		<form class="cmxform" id="commentForm" method="post">
			<div style="padding: 20px">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h5 class="panel-title">用户信息</h5>
					</div>
					<div class="panel-body">
						<table cellpadding="10" cellspacing="5" class="mytable">
							<tr>
								<td width="90">所属组织</td>
								<td width="300px">
									<!-- <select id="orgId" style="width: 260px;">
									</select> -->
									<input type="text" id="deptSelectView" name="deptSelectView" style="width: 270px;display: inline-block;cursor:pointer;" placeholder="点击选择..." readonly="readonly" class="form-control" >
									<ul id="deptTree" class="ztree" style="display: none;" ></ul>
								</td>
								<td></td>
								<td>
								</td>
							</tr>
							<tr>
								<td width="90">登录名称</td>
								<td>
									${userObj.userId }
								</td>
								<td>中文名称</td>
								<td>
									<input type="text" name="userName" id="userName" required value="${userObj.userName}">
									<font color="red"> *</font>
									<span style="color: red"></span>
								</td>
							</tr>
							<tr>
								<td>手机号码</td>
								<td>
									<input type="text" name="mobileNumber" id="mobileNumber" value="${userObj.mobileNumber}" />
									<span style="color: red"></span>
								</td>
								<td>职称</td>
								<td>
									<input type="text" name="userTitle" id="userTitle" value="${userObj.userTitle}" />
								</td>
							</tr>
							<tr>
								<td width="90">状态</td>
								<td>
									<select id="lockState" name="lockState" style="width: 90px;">
										<option value="0">正常</option>
										<option value="1">锁定</option>
									</select>
								</td>
								<td>用户排序</td>
								<td>
									<input type="text" name="sortNum" id="sortNum" value="${userObj.sortNum}" />
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div style="width: 100%; text-align: center; padding-top: 20px">
					<button class="btn btn-primary radius primary-vdd" type="submit">保 存</button>
					<a class="btn btn-default radius" onClick="history.back();"> 取 消 </a>
					<br />
					<br />
				</div>
			</div>
	
			<div style="display:none">
				<input type="hidden" name="lockStateVal" id="lockStateVal" value="${userObj.lockState}" />
				<input id="id" name="id" type="hidden" value="${id}" />
				<input id="userId" value="${requestScope.userObj.userId }" >
			</div>
		</form>
	</body>
</html>

